e3cd1de6ce9d69785bd038870aff44e8a70c1aa9,components/camel-jms/src/main/java/org/apache/camel/component/jms/EndpointMessageListener.java,EndpointMessageListener,createExchange,#Message#Destination#,103
Before Change
// lets set to an InOut if we have some kind of reply-to destination
if (replyDestination != null && !disableReplyTo) {
exchange.setProperty(JmsConstants.JMS_REPLY_DESTINATION, replyDestination);
exchange.setPattern(ExchangePattern.InOut);
}
return exchange;
}
After Change
exchange.setProperty(JmsConstants.JMS_REPLY_DESTINATION, replyDestination);
// only change pattern if not already out capable
if (!exchange.getPattern().isOutCapable()) {
exchange.setPattern(ExchangePattern.InOut);
}
}
return exchange;